package com.examination.client.domian.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author: XiaoDong
 * @date: 2021-10-25 23:49
 * @description:
 */
@Data
public class CourierSiteTreeDTO {

    @ApiModelProperty(value = "id")
    private Integer id;

    /**
     * 站点名称
     */
    @ApiModelProperty(value = "站点名称")
    private String siteName;

    /**
     * 父id 总结点默认0
     */
    @ApiModelProperty(value = "父id 总结点默认0")
    private Integer parentId;

    /**
     * 子节点结合
     */
    @ApiModelProperty(value = "子节点集合")
    private List<CourierSiteTreeDTO> childList;

    /**
     * 状态
     */
    @ApiModelProperty(value = "禁用状态 0 正常 1 停用")
    private String status;

    /**
     * 站点地址
     */
    @ApiModelProperty(value = "站点地址")
    private String siteAddress;

    /**
     * 手机号
     */
    @ApiModelProperty(value = "手机号")
    private String phone;

    /**
     * 创建时间
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "是否开启主-子站点同时入库：0-否；1-是")
    private Integer subsiteIn;
}
